// 操作枚举
export enum QOP_MAP {
  ADD = 'add',
  COPY = 'copy',
  EDIT = 'edit'
}

export const operatorOptions = [
  {
    label: '选择了',
    value: 'in'
  },
  {
    label: '不选择',
    value: 'nin'
  }
]

// 角色
export const ROLE_VISITOR = '1000000000'
export const ROLE_SUPER_ADMIN = '1000000001'
export const ROLE_TEACHER = '1000000002'
export const ROLE_STUDENT = '1000000003'
export const ROLE_GUARDIAN = '1000000004'
export const ROLE_TEEWON_ADMIN = '1000000005'
export const ROLE_REGION_ADMIN = '1000000006'
export const ROLE_TENANT_ADMIN = '10000000061'
export const ROLE_SCHOOL_ADMIN = '1000000007'
export const ROLE_DEVELOPER = '1000000008'
export const ROLE_HEADMASTER = '1000000009'
export const ROLE_EDU_ADMIN = '10000000010'
export const ROLE_EXAM_ADMIN = '10000000011'
export const ROLE_SYSTEM_ADMIN = '10000000030'

// 管理员
export const ROLE_MANAGERS = [ROLE_REGION_ADMIN, ROLE_SCHOOL_ADMIN, ROLE_HEADMASTER, ROLE_EDU_ADMIN, ROLE_SYSTEM_ADMIN]
// 老师和管理
export const ROLE_TEACHER_MANAGER = [ROLE_TEACHER, ROLE_REGION_ADMIN, ROLE_SCHOOL_ADMIN, ROLE_HEADMASTER, ROLE_EDU_ADMIN, ROLE_SYSTEM_ADMIN]
// 学生和家长
export const ROLE_STUDENT_GUARDIAN = [ROLE_STUDENT, ROLE_GUARDIAN]

// 学段
export const SCHOOL_SECTION_TYPE_HIGH = 'HIGH_SCHOOL'
export const SCHOOL_SECTION_TYPE_JUNIOR = 'JUNIOR_HIGH_SCHOOL'
export const SCHOOL_SECTION_TYPE_PRIMARY = 'PRIMARY_SCHOOL'

// 班级类型
export const CLASS_TYPE_XZB = '1'
export const CLASS_TYPE_JXB = '2'

// 默认主题颜色
export const DEFAULT_PRIMARY: string = "#0081fa";

// 组织树：组织类型，0-地区 1-区教育局 2-学校 3-地市级教育行政部门 4-省级教育局 5-集团校 -6-办公组织  6-办公组织下面的节点 -7：教学组织 11：学段 -12:行政班 -13：教学班 14年级 15班级，-1根节点
export enum ORGTREE_TYPE {
  REGION = '0',
  REGION_EDU = '1',
  SCHOOL = '2',
  SCHOOL_EDU = '3',
  PROVINCE_EDU = '4',
  GROUP_SCHOOL = '5',
  OFFICE_ORG = '-6',
  OFFICE_ORG_NODE = '7',
  TEACH_ORG = '-7',
  SECTION = '11',
  ORG_CLASS = '-12',
  TEACH_CLASS = '-13',
  GRADE = '14',
  CLASS = '15',
}